package com.lsl.endworkvol.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.lsl.endworkvol.entity.SignUpNote;

@Repository
@Mapper
public interface SignUpNoteMapper {

    int insert(SignUpNote record);

    int delete(Integer id);

    int update(SignUpNote record);

    SignUpNote selectById(Integer id);

    List<SignUpNote> selectByVolunteerId(Integer userId);

    List<SignUpNote> selectByActivityId(Integer activityId);

    List<SignUpNote> selectByUserIdAndActivityId(SignUpNote flag);

    List<SignUpNote> selectAll();

    List<SignUpNote> blur(SignUpNote flag);
}
